import React from 'react';

const Loading = ({children, text, show}) => {
	return <div className={'loading-wrap ' + (show ? 'show' : 'hide')}>
		<div className={'content'}>{text || children || '数据加载中'}</div>
	</div>;
};

export default Loading;